<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function mc(name) {
            console.log("买回了" + name);
        }

        setTimeout(() => mc("苹果"),1000);
        setTimeout(() => mc("牛肉"),1000);

        function kc() {
            console.log("我们开始吃火锅");
        }
        kc();
    </script> 
</body>
</html>